package com.jokesoft.supermanager.core.repositories;

import java.util.List;

import com.jokesoft.supermanager.common.services.Address;
import com.jokesoft.supermanager.core.entities.PersonEntity;

public interface PersonRepository {

    public PersonEntity findById(String id);

    public List<PersonEntity> fetchAllPersons();

    public void delete(String id);

    public PersonEntity insertPerson(String firstName, String lastName, String role, List<Address> addressList);

}
